/////////////////////////////////////////////////////////////////////////////
/*/	
 *	Creator:		Joshua C. Rouzer
 *	Title:			
 *	Last Edited:	06/11/2013
 *	Summary:		
/*/
/////////////////////////////////////////////////////////////////////////////
#ifndef CSHIELD_H
#define CSHIELD_H
#include "DefenseStruct.h"
#include <vector>
class CGenerator;
class CShield : public CDefenseStruct{
	std::vector<CDefenseStruct*> m_vGenerators;
	bool bActive;
	int m_nShieldDestroy, m_nShieldHit;
public:
	CShield( bool bTeamOne );
	virtual ~CShield();
	virtual void Update(float dT);
	virtual void Render();
	virtual void Upgrade();

	std::vector<CDefenseStruct*> GetGenerators( void ) { return m_vGenerators; }
	void RemoveGenerator(int index);

	bool IsActive( void ) { return bActive; }
	void Deactivate( void ) { bActive = false; }
	int GetDeath()		{return m_nShieldDestroy; };
	int	GetHit()		{return m_nShieldHit; };
};
#endif